<%@page import="org.beanstech.util.StaticHibernateUtil"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1" session="true"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<meta name="description" content="Second Hand Book Exchange" />
	<meta name="keywords" content="second,exchange" />	
	<meta name="author" content="Bhavin" />
	<link rel="stylesheet" href="css/main.css" type="text/css" />
	<title>Second Book Exchange | Effort towards Green Campaign</title>
	<script type="text/javascript">
	function loginsubmit(){
		document.getElementById("loginform").submit();
		
	}
		function submitform(){
			document.getElementById("userform").submit();
		}
		
	</script>
	<%
		StaticHibernateUtil.initialize();
		session.setAttribute("userid",null);
		session.setAttribute("uname",null);
	%>
</head><body>
	<div class="wrap">
		<h1 id="logo"><a href="#">secondbook<br />Exchange</a></h1>
		<div id="menu">
		<div class="halfdiv">
		<form action="Login" method="post" id="loginform" title="loginform"> 
		<div class="innermenu">Email</div>
		<div class="innermenu">password</div></div>
		<div class="halfdiv">
		 <div class="innermenu"><input name="emailid" type="text" size="20px"  /></div>
		  <div class="innermenu"><input name="password" type="password" size="20px"  /></div>
		  </div>
		  
		  <div class="completediv">
		<a href="#" onclick="javascript:loginsubmit()">  <img src="images/btn_login.jpg" /></a>
		  </div>
		</form>
		
		</div> 
		<div id="full_div">
		<div id="left">
			<h2>save Money on books and help<br/>the environement</h2>
			
			<div><p><img src="images/stock-photo-old-books-used-books-donated-to-the-poor-and-drive-their-growth-68168155.jpg" height="300px" width="100%"/></p></div>
		</div>
		<div id="right">
		Buy and sell used college and school books here. We are an on-line community of members who buy and sell used school books from each other. Average saving 66% (sources: The Irish Times; The Sunday Times). Only buy new school books as a last resort. We believe in re-using school books. In Ireland, over one million used college and school books are not re-used every year - but we're changing that!<br/> <h3>Sign up for free by just few of the details</h3> 
		<div id="right_form">
		<form id="userform" title="userform" action="HomePageUserForm" method="post">
		<table width="100%" border="0">
  <tr>
    <td>Email id</td>
    <td><input type="text" name="signupemaild"  /></td>
  </tr>
  <tr>
    <td>Password</td>
    <td><input type="password" name="signuppassword" /></td>
  </tr>
  <tr>
  <td>&nbsp;</td>
    <td colspan="1"><a href="#" onclick="submitform()"><img src="images/btn_signup.jpg" /></a></td>
    
  </tr>
  
</table>
</form>
		</div>
		</div>
		
		</div>
		<div id="text">
			<div style="width: 60%;float:left;"><h2>Live Stats</h2>
			<div style="width:100%;float:left">
				Total Books Available <b>00000</b>&nbsp;&nbsp;
				Total Registered Users <b>00000</b>
			</div></div>
			<div style="width:40%;float:left"><h2>Social Connections</h2>
			<div style="width:100%;float:left">
				<div style="width:80px; float: left;" > <img src="images/Active-Twitter-2-icon.png" alt="twitter" /></div>
				<div style="width:80px; float: left;" ><img src="images/Active-Facebook-icon.png" alt="twitter" /></div>
				<div style="width:80px; float: left;" ><img src="images/Active-Blogger-icon.png" alt="twitter" /></div>
				<div style="width:80px; float: left;" ><img src="images/Active-Google-Plus-icon.png" alt="twitter" /></div>
			</div>
			</div>
						
			
		</div>
		
		
		

		<div >
			<p></p>
		</div>
	</div>

	<div id="footer">
		<div class="wrap">
			<div id="bubble">
			  <p>Testimonials</p>
			  <p>"Hi, What a fab web-site.It is such a waste of money storing the used books"</p>
			</div>
			<div id="copyright">
				
				
				<div id="footer_bubble">
			<p><a href="#">Testimonials</a><a href="#">FAQ's</a><a href="#">Terms &amp; Conditions </a><a href="#">Feedback</a><a href="#">Contact</a></p>
		</div>
			</div>
			<div class="clear"></div>
		</div>
	</div>
</body>
</html>